﻿namespace Algo.Search
{
    internal sealed class GoldenSectionSearchStrategy : DichotomySearchStrategy
    {
        protected override int GetMiddle(int first, int last)
        {
            return first + ((last - first) * 62) / 100;
        }
    }
}
